package com.sayimo.maker.mall.goods.service;

import com.sayimo.framework.exception.ServiceException;
import com.sayimo.maker.mall.goods.vo.GoodsNormsStock;


/**
 * @Copyright (C)  广东省尚一互联网有限公司
 * @Project: schoolmallapi
 * @ClassName: GoodsNormsStockInterfaceService
 * @Description: 
 * @author:	wangyang
 * @date:	日期：2016年7月15日  时间：下午4:36:25
 * @version 2.0.0
 */
public interface GoodsNormsStockInterfaceService {

	/** 
	* @Title: selectGoodsNormsStock 
	* @Description: 查询
	* @param stockId
	* @return
	* @return GoodsNormsStock
	* @throws 
	*/ 
	public GoodsNormsStock selectGoodsNormsStock(Integer stockId)throws ServiceException;

	/** 
	* @Title: updateGoodsNormsStock 
	* @Description: 修改库存
	* @param goodsNormsStock
	* @return void
	* @throws 
	*/ 
	public int updateGoodsNormsStock(GoodsNormsStock goodsNormsStock)throws ServiceException;

	/** 
	* @Title: updateReturnGroupBuyNumById 
	* @Description: 取消返还团购活动商品数量根据订单id
	* @param id
	* @return Integer
	* @throws 
	*/ 
	public Integer updateReturnGroupBuyNumById(Integer id)throws ServiceException;

}
